import _http from '@/utils/http'

export default {
    accountChargeFlow(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/account/charge/flow',
            apiName: '代充记录',
        }, params, loading, headers)
    },
    chooseShop(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/common/choose/shop',
            apiName: '拉取店铺列表',
        }, params, loading, headers)
    },
    accountChargeSubmit(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/account/charge/submit',
            apiName: '发起充值',
        }, params, loading, headers)
    },
    accountChargeDetail(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/account/charge/detail',
            apiName: '代充详情',
        }, params, loading, headers)
    },
    inquireBalance(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/common/shop/account',
            apiName: '查询店铺余额',
        }, params, loading, headers)
    },
}
